package ee.project;

import java.util.LinkedList;
import java.util.List;

public class Record {

	private List<Integer> record;

	public Record() {
		record = new LinkedList<Integer>();
	}

	public void addToken(Integer token) {
		record.add(token);
	}

	public int getRecordLength() {
		return record.size();
	}

	public Integer getToken(int index) {
		return record.get(index);
	}
}
